;;; anytopnm $1 >$FOO
;;; for y in `seq 0 6 11`
;;; do
;;;    for x in `seq 000 4 127`
;;;    do
;;;       pamcut <$FOO -left $x -top $y -width 4 -height 6 >chars_${c}.pnm
;;;       c=$(( $c + 1))
;;;    done
;;; done
;;; for i in chars_*; do echo $i; pnmcat -leftright $i $i >C_$i; done
;;; for i in C_chars_*; do echo $i; pamthreshold $i 2>/dev/null|pnminvert|pnmflip -lr|pamtopnm|pbmtoxbm; done|grep x


font4x6:    db $00,$00,$00,$00,$00,$00 ;" "
            db $44,$44,$44,$00,$44,$00 ;!
            db $aa,$aa,$00,$00,$00,$00 ;"
            db $aa,$ee,$aa,$ee,$aa,$00 ;#
            db $44,$ee,$cc,$66,$ee,$44 ;$
            db $aa,$22,$44,$88,$aa,$00 ;%
            db $cc,$cc,$66,$cc,$ee,$00 ;&
            db $44,$44,$00,$00,$00,$00 ;'
            db $44,$88,$88,$88,$44,$00 ;(
            db $44,$22,$22,$22,$44,$00 ;)
            db $44,$ee,$aa,$00,$00,$00 ;*
            db $00,$00,$44,$ee,$44,$00 ;+
            db $00,$00,$00,$00,$44,$88 ;,
            db $00,$00,$ee,$00,$00,$00 ;-
            db $00,$00,$00,$00,$44,$00 ;.
            db $22,$22,$44,$88,$88,$00 ;/
            db $44,$aa,$aa,$aa,$44,$00 ;0
            db $44,$cc,$44,$44,$ee,$00 ;1
            db $cc,$22,$44,$88,$ee,$00 ;2
            db $cc,$22,$44,$22,$cc,$00 ;3
            db $66,$aa,$ee,$22,$22,$00 ;4
            db $ee,$88,$cc,$22,$cc,$00 ;5
            db $66,$88,$cc,$aa,$44,$00 ;6
            db $ee,$22,$22,$44,$44,$00 ;7
            db $44,$aa,$44,$aa,$44,$00 ;8
            db $44,$aa,$66,$22,$44,$00 ;9
            db $00,$00,$44,$00,$44,$00 ;:
            db $00,$00,$44,$00,$44,$88 ;;
            db $22,$44,$88,$44,$22,$00 ;<
            db $00,$ee,$00,$ee,$00,$00 ;=
            db $44,$22,$11,$22,$44,$00 ;>
            db $cc,$22,$44,$00,$44,$00 ;?
            db $44,$aa,$ee,$88,$66,$00 ;@
            db $44,$aa,$aa,$ee,$aa,$00 ;A
            db $cc,$aa,$cc,$aa,$cc,$00 ;B
            db $44,$aa,$88,$aa,$44,$00 ;C
            db $cc,$aa,$aa,$aa,$cc,$00 ;D
            db $ee,$88,$cc,$88,$ee,$00 ;E
            db $ee,$88,$cc,$88,$88,$00 ;F
            db $66,$88,$aa,$aa,$66,$00 ;G
            db $aa,$aa,$ee,$aa,$aa,$00 ;H
            db $ee,$44,$44,$44,$ee,$00 ;I
            db $22,$22,$22,$aa,$44,$00 ;J
            db $aa,$cc,$cc,$aa,$aa,$00 ;K
            db $88,$88,$88,$88,$ee,$00 ;L
            db $aa,$ee,$ee,$ee,$ee,$00 ;M
            db $aa,$ee,$ee,$ee,$aa,$00 ;N
            db $44,$aa,$aa,$aa,$44,$00 ;O
            db $cc,$aa,$aa,$cc,$88,$00 ;P
            db $44,$aa,$aa,$ee,$66,$00 ;Q
            db $cc,$aa,$aa,$cc,$aa,$00 ;R
            db $66,$88,$44,$22,$cc,$00 ;S
            db $ee,$44,$44,$44,$44,$00 ;T
            db $aa,$aa,$aa,$aa,$ee,$00 ;U
            db $aa,$aa,$aa,$ee,$44,$00 ;V
            db $aa,$aa,$ee,$ee,$aa,$00 ;W
            db $aa,$aa,$44,$aa,$aa,$00 ;X
            db $aa,$aa,$ee,$44,$44,$00 ;Y
            db $ee,$22,$44,$88,$ee,$00 ;Z
            db $ee,$88,$88,$88,$ee,$00 ;[
            db $88,$88,$44,$22,$22,$00 ;\
            db $ee,$22,$22,$22,$ee,$00 ;]
            db $44,$aa,$00,$00,$00,$00 ;^
            db $00,$00,$00,$00,$ee,$00 ;_
            db $88,$44,$00,$00,$00,$00 ;`
            db $00,$cc,$22,$ee,$ee,$00 ;a
            db $88,$cc,$aa,$aa,$cc,$00 ;b
            db $00,$66,$88,$88,$66,$00 ;c
            db $22,$66,$aa,$aa,$66,$00 ;d
            db $00,$44,$ee,$88,$66,$00 ;e
            db $22,$44,$ee,$44,$44,$00 ;f
            db $00,$66,$aa,$66,$22,$cc ;g
            db $88,$cc,$aa,$aa,$aa,$00 ;h
            db $44,$00,$cc,$44,$ee,$00 ;i
            db $44,$00,$cc,$44,$44,$88 ;j
            db $88,$aa,$cc,$aa,$aa,$00 ;k
            db $cc,$44,$44,$44,$ee,$00 ;l
            db $00,$cc,$ee,$ee,$ee,$00 ;m
            db $00,$cc,$aa,$aa,$aa,$00 ;n
            db $00,$44,$aa,$aa,$44,$00 ;o
            db $00,$cc,$aa,$aa,$cc,$88 ;p
            db $00,$66,$aa,$aa,$66,$22 ;q
            db $00,$aa,$cc,$88,$88,$00 ;r
            db $00,$66,$cc,$22,$cc,$00 ;s
            db $44,$ee,$44,$44,$22,$00 ;t
            db $00,$aa,$aa,$aa,$66,$00 ;u
            db $00,$aa,$aa,$ee,$44,$00 ;v
            db $00,$aa,$ee,$ee,$ee,$00 ;w
            db $00,$aa,$44,$aa,$aa,$00 ;x
            db $00,$aa,$aa,$66,$22,$cc ;y
            db $00,$ee,$44,$88,$ee,$00 ;z
            db $66,$44,$cc,$44,$66,$00 ;{
            db $44,$44,$44,$44,$44,$00 ;|
            db $cc,$44,$66,$44,$cc,$00 ;}
            db $66,$cc,$00,$00,$00,$00 ;~
            db $ff,$99,$99,$99,$99,$ff ;del

;;; ----------------------------------------------------------------------
